Release Issues
The automated release process works well a vast majority of the time but occasionally there are issues that may require some manual intervention. These issues can be caused by either upstream issues with the app stores or due to issues with our build. This page is meant to document some of the issues we may run into with our releases and how to resolve them.
Re-releasing a failed build
Occasionally, a build may fail for one reason or another, or we may determine that we want to resubmit a build. In order to do this, we need to re-trigger the Release Build workflow. This workflow is triggered by tagging the release branch with a vX.X.X
tag. Since this tag exists already, follow the steps below to re-tag a branch and retrigger the build. Keep in mind that the releases for both platforms are tied together in the same workflow, so following these steps will re-run the release for both iOS and Android.
- Determine the version number of the build you want to rebuild (vX.X.X)
- If possible, remove any pending versions for review
- Make any changes necessary to the corresponding
release/vX.X.X
branch or have an FE engineer do so - Since the
vX.X.X
tag exists already from the previous build attempt, we need to delete the tag, both locally and remotely- Delete the local tag:
git tag --delete <vX.X.X>
- Delete the remote tag:
git push --delete origin <vX.X.X>
- Checkout the
release/vX.X.X
branch - Run
git pull
to ensure you have the latest changes - Tag the branch with the version we're trying to release:
git tag -a vX.X.X -m vX.X.X
- Push the tag
git push origin vX.X.X
- Delete the local tag:
- Confirm that the Release Build has been retriggered
- Upon successful build, check the corresponding App Store console to confirm that the build is present and has been submitted for review
App Store screenshot failure
Occasionally the uploading of screenshots to the iOS App Store will fail due to timeout. A recent fastlane version update included some optimizations to fix this but it's possible it can occur again. Screenshots are uploaded after a successful build has already been uploaded to App Store Connect. Sometimes we can fix the screenshots manually in App Store connect. To do so:
- Go to the pending release in App Store Connect
- On the Distribution tab, you should see the "iOS Previews and Screenshots" section
- For each screen size and device:
- Remove any failed screenshots. They usually appear as blank with no image preview
- Check if there is a button in the top right that allows you to re-submit the app for review.
- If not, you will likely need to re-release the entire build by following the steps for "Re-releasing a failed build" instead
- If so, continue with the next steps
- Comparing it to the screenshots in the
release/vX.X.X
branch, check the order and upload any missing screenshots
- Re-submit the app for review
Need to add code into a release after it has been created (but not pushed to the stores)
Sometimes, after a release branch has been cut, we need to get an important update included before approval. When this happens, we need to recreate the release candidate build. If QA hasn't happened yet, there's no extra effort, but if QA has completed testing on the release candidate, it will need to be retested. Updating the the release needs to be approved by the QA team.
Because the release is tied into a commit and not the current state of the branch, follow the steps below to "re-cut" the release:
- Add updated code into the release branch
release/vX.X.X
and push to github - Delete the local release candidate tag:
git tag --delete RC-vX.XX.0-XXXXXX-XXXX
- Delete the remote tag:
git push --delete origin <RC-vX.XX.0-XXXXXX-XXXX>
- Checkout the
release/vX.X.X
branch - Run
git pull
to ensure you have the latest changes - Tag the branch with the version we're trying to release:
git tag -a RC-vX.XX.0-XXXXXX-XXXX -m RC-vX.XX.0-XXXXXX-XXXX
- Push the tag
git push origin RC-vX.XX.0-XXXXXX-XXXX